﻿#1.循环函数
#index=1      #
# while index<=100:
#     print(index)
#     index+=1
#     pass
#2.乘法表
# line=1        
# while line<=9:
#     col=1
#     while col<=line:
#         print('%d*%d=%d'%(line,col,line*col),end=(' '))
#         col+=1
#         pass
#     print('')
#     line+=1
#     pass
#3.等腰三角形打印
# line=1
# while line<=10:
#     j=1
#     while j<=10-line:
#         print(' ',end='')
#         j+=1
#         pass
#     k=1
#     while k<=2*line-1:
#         print('*',end='')
#         k+=1
#         pass
#     print()
#     line+=1
#     pass
#4.直角三角形
# line=1
# while line<=10:
#     col=1
#     while col<=line:
#         print('*',end=('  '))
#         col+=1
#         pass
#     print()
#     line+=1
#     pass

   


